package com.dbgs.insurance.insuredperson.activity;

import android.os.Bundle;
import android.support.v7.widget.AppCompatTextView;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import com.dbgs.insurance.insuredperson.R;
import com.hss.base.BaseActivty;
import com.leon.lib.settingview.LSettingItem;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by Administrator on 2018/5/15.
 */

public class SettingActivity extends BaseActivty {

    @BindView(R.id.btn_tite_back)
    Button btnTiteBack;
    @BindView(R.id.tv_title)
    TextView tvTitle;
    @BindView(R.id.tv_tite_right)
    TextView tvTiteRight;
    @BindView(R.id.toolbar)
    Toolbar toolbar;
    @BindView(R.id.current_version)
    LSettingItem currentVersion;
    @BindView(R.id.about_us)
    LSettingItem aboutUs;
    @BindView(R.id.contact_us)
    LSettingItem contactUs;
    @BindView(R.id.feedback)
    LSettingItem feedback;
    @BindView(R.id.exit_login_btn)
    AppCompatTextView exitLoginBtn;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_setting);
        ButterKnife.bind(this);
        initData();
        initView();
        initListener();
    }

    @Override
    public void initData() {
        super.initData();
    }

    @Override
    public void initView() {
        super.initView();
        tvTitle.setText(R.string.str_set);
    }

    @Override
    public void initListener() {
        super.initListener();

    }

    @OnClick({R.id.btn_tite_back})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.btn_tite_back:
                exit();
                break;
        }
    }
}
